#include<iostream>
using namespace std;
int main(void){	 
	for(int i = 0;i < 10000000000;i++){
		if((20191031 * i) % 1000000007 == 1){
			cout << i <<endl;
		}
	}
	return 0;
	cout << 20191031 % 1000000007 << endl;
	cout << 1437814407 % 1000000007 <<endl;
	cout << 20191031 % 1000000007 * 1437814407 % 1000000007;
//	cout << (20191031 * 1437814407) % 1000000007;
}

